/*!
 * \file utility.h
 */
#ifndef _Cutility_H_A46A35C2_684B_4089_9CF6_D872FBD804D8_INCLUDED_
#define _Cutility_H_A46A35C2_684B_4089_9CF6_D872FBD804D8_INCLUDED_

#include <utility>

template<typename T1,typename T2>
struct CPodPair
{
  T1 first;
  T2 second;
  
  typedef T1 first_type;
  typedef T2 second_type;
  
  template<typename A,typename B>
  operator std::pair<A,B>() const
  {
    return std::pair<A,B>(first,second);
  }
};

#define COUNT(a) (sizeof(a)/sizeof(*(a)))

#endif //_Cutility_H_A46A35C2_684B_4089_9CF6_D872FBD804D8_INCLUDED_
